<?php

namespace App\Http\Controllers\admin;

use App\other\AdminFlag;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;

class AdminController extends Controller
{
    public function __construct(){
        $this->middleware(['admin:'.AdminFlag::ADMIN_FLAG_PAND]);
    }

    public function index(){
        return view('admin.index');
    }
}
